package com.foreknow.demo14;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * 注意: 一个try后面可以写多个catch
 */
public class ExceptionDemo3 {
    public static void main(String[] args) {
        try{
          Connection connection= DriverManager.getConnection("","","");
        } catch (SQLException e) {
            e.printStackTrace();
        }

    }
}
